import React from 'react';

export default class extends React.Component {

    componentDidMount() {
        console.log('Tab1第一次渲染');
    }
    componentDidUpdate() {
        console.log('更新了', this.props);
    }
    render() {
        return (
            <h2>这是Tab1{this.props.count}</h2>
        )
    }
}